package com.heima.behavior.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author thea
 * @since 2024-07-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("ap_unlike")
public class ApArticleUnlikes implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private ObjectId id;


    private Long articleId;

    private Long userId;

    private Short type;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
